home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / May 96 / Tech Q Additional Storage Unit < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     Tech Q: Additional Storage Units
  2. Sent:        5/29/96 1:31 AM
  3. Received:    5/29/96 8:36 AM
  4. From:        Hutchings Software Development, hsd@earthlink.net
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. On page 301 of the _IM:OpenDoc Programmer's Guide_, there is a recipe for
  9. creating additional storage units.
  10.  
  11. Here's what I'm unclear about. Should I call GetStrongStorageUnitRef every
  12. time I externalize my part, or should I save the strong reference and write
  13. the same thing to my main storage unit's value each time?
  14.  
  15. Also, how/when do I dispose of the Strong Reference (i.e., if I no longer
  16. need it).
  17.  
  18. The question is prompted by ODF's internalization/externalization model,
  19. which is geared toward doing it all at once, as opposed to on an as needed
  20. basis (as I understand it). But I guess I see no reason why an ODF Content
  21. object couldn't have access to the storage unit when needed.
  22.  
  23. Brad
  24.  
  25.  
  26. Richard B. "Brad" Hutchings
  27. General Partner,
  28. Hutchings Software Development
  29.  
  30. hsd@earthlink.net
  31.